import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  {
    path: "/pagination",
    name: "jhbPagination",
    component: () =>
      import("../views/pagination/index.vue"),
  },
  {
    path: "/select",
    name: "ElSelect",
    component: () =>
      import("../views/select/index.vue"),
  },
  {
    path: "/table",
    name: "ElTable",
    component: () =>
      import("../views/table/index.vue"),
  },
  {
    path: "/navMenu",
    name: "ElNavMenu",
    component: () =>
      import("../views/navMenu/index.vue"),
  }
  // {
  //   path: "/test",
  //   name: "JHBMerchantStatistics",
  //   component: () =>
  //     import("../views/test/index.vue"),
  // },
  // {
  //   path: "/button",
  //   name: "ElButton",
  //   component: () =>
  //     import("../views/button/index.vue"),
  // },
  // {
  //   path: "/link",
  //   name: "ElLink",
  //   component: () =>
  //     import("../views/link/index.vue"),
  // },
  // {
  //   path: "/radio",
  //   name: "ElRadio",
  //   component: () =>
  //     import("../views/radio/index.vue"),
  // },
  // {
  //   path: "/checkbox",
  //   name: "ElCheckbox",
  //   component: () =>
  //     import("../views/checkbox/index.vue"),
  // },
  // {
  //   path: "/input",
  //   name: "ElInput",
  //   component: () =>
  //     import("../views/input/index.vue"),
  // },
  // {
  //   path: "/inputNumber",
  //   name: "ElInputNumber",
  //   component: () =>
  //     import("../views/inputNumber/index.vue"),
  // },
 
  // {
  //   path: "/time",
  //   name: "Eltime",
  //   component: () =>
  //     import("../views/time/index.vue"),
  // },
  // {
  //   path: "/alert",
  //   name: "ElAlert",
  //   component: () =>
  //     import("../views/alert/index.vue"),
  // },
  // {
  //   path: "/tab",
  //   name: "ElTab",
  //   component: () =>
  //     import("../views/tab/index.vue"),
  // },
  // {
  //   path: "/result",
  //   name: "ElResult",
  //   component: () =>
  //     import("../views/result/index.vue"),
  // },
  // {
  //   path: "/tag",
  //   name: "Eltag",
  //   component: () =>
  //     import("../views/tag/index.vue"),
  // },
  // {
  //   path: "/switch",
  //   name: "ElSwitch",
  //   component: () =>
  //     import("../views/switch/index.vue"),
  // },
  // {
  //   path: "/Other",
  //   name: "ElOther",
  //   component: () =>
  //     import("../views/Other/index.vue"),
  // },
  // {
  //   path: "/table",
  //   name: "Eltable",
  //   component: () =>
  //     import("../views/table/index.vue"),
  // },
  
];

const router = new VueRouter({
  routes
})

export default router
